<?php 
session_start();
session_destroy(); ?>
<?php //include("include/session.php"); ?>
<?php include("header.php"); ?>
<title>.:: Login ::.</title>   
<body>
<p></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<form name="form1" method="post" action="dologin.php">
<table border="1" align="center">
   	<tr>
   		<td colspan="2"><div align="center">Please enter your username and Password...!!</div></td>
   	</tr> 
	<tr>
    	<td width="90">Username</td>
        <td width="179"><input type="text" name="user"></td>
    </tr>
    <tr>
    	<td>Password</td>
        <td><input type="password" name="pass"></td>
    </tr>
    <tr>
    	<td><input type="submit" name="Submit" value="Login"></td>
        <td><input type="reset" name="Submit2" value="Reset"></td>
    </tr>
	<?php
			$err=$_REQUEST['err'];
			if($err!="") { ?>
    <tr>
       	<td colspan="2">
		<div align="center">
			    <font color="#FF0000"> 
			    <?php 
				if($err == "yes")echo "Username and password you entered are mismatched";
				elseif ($err==1)echo "Please login first"; 
			 	?>
          </div></td>
    </tr>
	<?php } ?> 
</table>

</form>
</body>
</html>
